package com.stone.business.weekplan.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@Entity
@Table(name = "TAB_WEEKPLAN")
public class TWeekplan implements Serializable {
	private static final long serialVersionUID = 6776188021705409493L;
	private Long id = Long.parseLong("0");
	private String ny;
	private String weeknum;
	private String organid;
	private String organname;
	private String bz;
	private String tbr;
	private Date tbrq;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_WEEKPLAN")
	@SequenceGenerator(name = "SEQ_WEEKPLAN", allocationSize = 1, sequenceName = "SEQ_WEEKPLAN")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getNy() {
		return ny;
	}
	public void setNy(String ny) {
		this.ny = ny;
	}
	public String getWeeknum() {
		return weeknum;
	}
	public void setWeeknum(String weeknum) {
		this.weeknum = weeknum;
	}
	public String getOrganid() {
		return organid;
	}
	public void setOrganid(String organid) {
		this.organid = organid;
	}
	public String getOrganname() {
		return organname;
	}
	public void setOrganname(String organname) {
		this.organname = organname;
	}
	public String getBz() {
		return bz;
	}
	public void setBz(String bz) {
		this.bz = bz;
	}
	public String getTbr() {
		return tbr;
	}
	public void setTbr(String tbr) {
		this.tbr = tbr;
	}
	public Date getTbrq() {
		return tbrq;
	}
	public void setTbrq(Date tbrq) {
		this.tbrq = tbrq;
	}
	
	
}
